//下载express  npm i express -S
const express = require('express')

const app = express()

const port = 5005

app.get('/person', (req, res) => {
    res.send({
        name:'tom',
        age:18
    })
})

app.listen(port, () => console.log(`Server running at  http://127.0.0.1:${port}`))

